package com.hd.appcommon.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @author: hzp
 * @date: 2022/1/5
 * @description:
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class RoleDept implements Serializable {


    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 管理员id
     */
    private String roleId;
    /**
     * 部门id
     */
    private Long dept;
    /**
     * 部门类型 1 老师 2 学生
     */
    private Integer deptType;
    /**
     * 创建时间
     */
    private Date createTime;

}
